package com.cc.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author c.c
 * @Since 2023/4/19
 * @Time 11:30
 * @Description
 */
@Configuration
@ConfigurationProperties(prefix = "spring.datasource.druid")
@Data
public class DataBaseConfiguration {
  private String url;
  private String username;
  private String password;
  private String driverClassName;

}
